import { Button } from 'antd'
import react from 'react'
import './index.less'
export default (props) => {
    const { onText = '保存', onOk, type, loading } = props
    return <>
        <div className='FlxButton_height'>
        </div>
        <div className='FlxButton_box'>
            <Button loading={loading} type={type} onClick={onOk}>{onText}</Button>
        </div>
    </>
}